package com.xuanzuo.birthday.service;

import java.util.List;

import com.xuanzuo.birthday.model.Contact;
import com.xuanzuo.birthday.model.User;

public class Birthday {
	public  boolean haveUser;
	private String currentUserId;
	private User currentUser;
	private static Birthday birthday;
	private String selectedMedia;
	private boolean haveFriend;
	private List<Contact> contacts;
	
	private Birthday(){}
	
	public static Birthday getInstance(){
		if(birthday == null ){
			birthday = new Birthday();		
		}
		return birthday;
	}

	public boolean isHaveUser() {
		return haveUser;
	}

	public void setHaveUser(boolean haveUser) {
		this.haveUser = haveUser;
	}

	public String getCurrentUserId() {
		return currentUserId;
	}

	public void setCurrentUserId(String currentUserId) {
		this.currentUserId = currentUserId;
	}

	public User getCurrentUser() {
		return currentUser;
	}

	public void setCurrentUser(User currentUser) {
		this.currentUser = currentUser;
	}

	public String getSelectedMedia() {
		return selectedMedia;
	}

	public void setSelectedMedia(String selectedMedia) {
		this.selectedMedia = selectedMedia;
	}

	public void setHaveFriend(boolean haveFriend) {
		this.haveFriend = haveFriend;
	}

	public boolean isHaveFriend() {
		return haveFriend;
	}

	public void setContacts(List<Contact> contacts) {
		this.contacts = contacts;
	}

	public List<Contact> getContacts() {
		return contacts;
	}
}